package cn.com.taiji.pos.service;

import cn.com.taiji.pos.entity.SystemAclUser;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户信息表 服务类
 * </p>
 *
 * @author
 * @since 2021-03-01
 */
public interface ISystemAclUserService extends IService<SystemAclUser> {

    SystemAclUser findByLoginName(String loginName);

    SystemAclUser findByLoginNameAndPassword(SystemAclUser loginUser);

    boolean hasAuthority(String resourceId, String userId);
}
